layui.define(['BaseApi'], function (exports) {
	var module = 'auth',
		pathPrefix = '/auth/',
		BaseApi = layui.BaseApi;

	function AuthApi(module, pathPrefix) {
		BaseApi.apply(this, arguments);
		Object.assign(this.api, {
			login: this.prefix + 'loginPcToken',
			logout: this.prefix + 'token',
			modifyPwd: this.prefix + 'updatepwd',
		})
	}

	exports('apiAuth', new AuthApi(module, pathPrefix));
})
